<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
  <tr>
    <td></td>
<!-- body_text //-->
    <td width="100%" valign="top"><?php echo $a[form] ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="componentheading"><?php echo $a[heading] ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <?php
      if ($a[message] != '')
      {
      ?>
      <tr>
        <td><?php echo $a[message]; ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <?php
      }
      ?>
      <?php
      if ($a[action] == 'success') {
      
    ?>
    <tr>
        <td class="main" align="center"><?php echo $a[image] ?><br><?php echo $a[pagetext] ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td align="right"><?php echo $a[button_continue]; ?></td>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    <?php
    }else{
    ?>
    <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><font size="2"><?php echo $a[pagetext]; ?></font><br><br>
             <table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main" colspan="2"><?php echo ENTRY_NAME; ?></td>
              </tr>
              <tr>
                <td class="main" colspan="2"><?php echo tep_draw_input_field('name'); ?></td>
              </tr>
              <tr>
                <td class="main" colspan="2"><?php echo ENTRY_EMAIL; ?></td>
              </tr>
              <tr>
                <td class="main" colspan="2"><?php echo tep_draw_input_field('email'); ?></td>
              </tr>
                <tr>
                <td class="main" colspan="2"><?php echo ENTRY_STORE_NAME; ?></td>
                </tr>
                <tr>
                <td class="main" colspan="2"><?php echo tep_draw_input_field('store_name'); ?>
                </td>
                </tr>
             
                <tr>
                <td class="main" colspan="2"><?php echo ENTRY_STORE_PHONE; ?></td>
                </tr>
                <tr>
                <td class="main" colspan="2"><?php echo tep_draw_input_field('store_phone'); ?>
                </td>
                </tr>

                <tr>
                <td class="main" width="40%"><?php echo ENTRY_STORE_ADDRESS; ?></td>
                <td> </td>
                </tr>
                <tr>
                <td class="main" width="40%"><?php echo tep_draw_textarea_field('store_address', 'soft', 20, 4); ?></td>
                <td> </td>
                </tr>
            
             <tr>
                <td class="main" colspan="2"><?php echo ENTRY_STORE_TAX_ID; ?></td>
              </tr>
              <tr>
                <td class="main" colspan="2"><?php echo tep_draw_input_field('store_tax_id'); ?></td>
              </tr>                                          
              <tr>
                <td class="main" colspan="2"><?php echo ENTRY_ENQUIRY; ?></td>
              </tr>
              <tr>
                <td class="main" colspan="2"><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td align="right"><?php echo $a[button_continue] ?></td>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    <?php
    }
    ?>
    </table></form></td>
<!-- body_text_eof //-->
    <td></td>
  </tr>
</table>